/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package fy.report;

import com.seeyon.ctp.common.AbstractSystemInitializer;
import fy.report.service.ZcReportService;
import java.util.Timer;

/**
 *
 * @author Administrator
 */
public class ZcFyReportInitializer extends AbstractSystemInitializer {

    @Override
    public void destroy() {
        System.out.println("销毁报表跟踪自定义插件*********");
        super.destroy(); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void initialize() {
        System.out.println("启动报表跟踪自定义插件*********");
        super.initialize(); //To change body of generated methods, choose Tools | Templates.

        Timer timer = new Timer();
        timer.schedule(new ZcReportService(), 180000L, 180000L);
    }

}
